﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
using Microsoft.EntityFrameworkCore;

namespace Fierce.Core.Service.Basic
{
    public partial class BasicUserRoleService : BaseService<BasicUserRole>
    {
        public virtual List<BasicUserRole> Grid(string userId)
        {
            return db.BasicUserRole.Query(m => m.UserID == userId).Include(m => m.BasicRole).ToList();
        }
    }
}
